package com.qzct.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author 闽闽
 * @since 2025-01-04
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(value = "tb_banner")
public class Banner implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 轮播图id
     */
    @Id(keyType = KeyType.Auto)
    @ApiModelProperty("轮播图id")
    private Integer id;

    /**
     * 轮播图地址
     */
    @ApiModelProperty("轮播图地址")
    private String url;

    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    @Column(isLogicDelete = true)
    private Integer isDeleted;

}
